<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ECSHOP v2.7.3" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	
	<title>酒仙网官方网站-团购詹姆士皇家骑士美露干红葡萄酒 澳洲原瓶原装进口-酒仙网团购</title>
	<meta name="description" content="<?php echo $this->_var['description']; ?>" />
	<meta name="keywords" content="<?php echo $this->_var['keywords']; ?>" />
	
	<link rel="shortcut icon" href="favicon.ico" />
	<link rel="icon" href="animated_favicon.gif" type="image/gif" />
	<link href="themes/jiuxian/css/style.css" rel="stylesheet" type="text/css" />
	<link href="themes/jiuxian/css/examples.css" rel="stylesheet" type="text/css" />
	<script src="themes/jiuxian/js/jquery.min.js" type="text/javascript">
	<script src="themes/jiuxian/js/jquery-impromptu.3.1.min.js" type="text/javascript">
	<script type="text/javascript">
		$(function(){
			//往期团购列表
			if($("#deals-list").length > 0){
				$("#deals-list li:even").addClass("lileft");
				$("#deals-list li:odd").addClass("liright");
			}	
		});
	</script>
</head>
<body>
<?php echo $this->fetch('library/group_header.lbi'); ?>
<div class="mainbox clearfix">
	<div class="maininfo lf">
	<?php if ($this->_var['class_list']): ?>
		<ul class="usernav clearfix">
			<li><a href="<?php echo $this->_var['class_url']; ?>" <?php if ($this->_var['catid'] == '0'): ?>class="on"<?php endif; ?>>所有<span></span></a></li>
			<?php $_from = $this->_var['class_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'class');if (count($_from)):
    foreach ($_from AS $this->_var['class']):
?>
				<li><a href="<?php echo $this->_var['class']['url']; ?>" <?php if ($this->_var['class']['cid'] == $this->_var['catid']): ?>class="on"<?php endif; ?>><?php echo $this->_var['class']['class_name']; ?><span></span></a></li>
			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		</ul>
	<?php endif; ?>

	<div class="box-top2"></div>
		<div class="sect">
			<h1 class="title2"><?php if ($this->_var['type'] == 1): ?>今日<?php else: ?>近期<?php endif; ?>团购</h1>
			<ul id="deals-list" class="clearfix">
				<?php if ($this->_var['gb_list']): ?>
				<?php $_from = $this->_var['gb_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'group_buy');if (count($_from)):
    foreach ($_from AS $this->_var['group_buy']):
?>
					<li><p class="time"><?php if ($this->_var['type'] == 1): ?>结束时间:<?php echo $this->_var['group_buy']['formated_end_date']; ?><?php else: ?>开始时间:<?php echo $this->_var['group_buy']['formated_start_date']; ?><?php endif; ?></p>
						<h4><a href="<?php echo $this->_var['group_buy']['url']; ?>"><?php echo htmlspecialchars($this->_var['group_buy']['act_name']); ?></a></h4>
						<a href="<?php echo $this->_var['group_buy']['url']; ?>" class="thumb"><img src="<?php echo $this->_var['group_buy']['goods_thumb']; ?>" border="0"  width="200" height="121" alt="<?php echo htmlspecialchars($this->_var['group_buy']['goods_name']); ?>" /><?php if ($this->_var['group_buy']['is_finished'] == '0'): ?><div class="isopen"></div><?php endif; ?></a>
						<div class="info"><p class="price"><font style="text-decoration :line-through">原价：<strong class="old"><?php echo empty($this->_var['group_buy']['market_price']) ? '0' : $this->_var['group_buy']['market_price']; ?></strong></font><br />折扣：<strong class="discount"><?php echo $this->_var['group_buy']['rebate']; ?>折</strong><br />现价：<strong><?php echo $this->_var['group_buy']['formated_cur_price']; ?></strong><br />节省：<strong class="discount"><?php echo $this->_var['group_buy']['formated_rebate_price']; ?></strong><br/><a href="<?php echo $this->_var['group_buy']['url']; ?>"  style="float: left"><img src="themes/jiuxian/tuan/buy.png" alt="抢购"/></a></div>
					</li>
				<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
				<?php else: ?>
					<?php if ($this->_var['type'] == 1): ?>今日<?php else: ?>近期<?php endif; ?>没有团购，请留意团购公告信息！
				<?php endif; ?>
			</ul>
			
			<div class="pages"><?php echo $this->fetch('library/group_pages.lbi'); ?></div>
		</div>
		
		<div class="box-bottom2"></div>
	</div>
	
</div>
</div>
<?php echo $this->fetch('library/group_footer.lbi'); ?>

</body>
</html>
